<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>shopcart</title>
    <link rel="stylesheet" href="/libs/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/shopcart.css">
</head>

<body>
    <div id="shopcart">
        <div class="nav">
        </div>
        <div class="main">
            <div class="content">
                <div class="shopcrumb">
                    当前位置: <a href="/">首页</a>
                    <!-- <i>&gt;</i> <a href="#">分类</a> <i>&gt;</i> <a href="#">手链系列</a> -->
                </div>
                <table class="flow_table">
                    <thead class="table_th">
                        <tr>
                            <th class="choose">全选 <input type="checkbox" name="" id="all-check"></th>
                            <th class="col1">编辑</th>
                            <th class="col2">商品名称</th>
                            <th class="col3">属性</th>
                            <th class="col4">购买数量</th>
                            <th class="col5">单价</th>
                            <th class="col6">小计</th>
                        </tr>
                    </thead>

                    <tbody class="table_tb" id="shopcart-list">
                    </tbody>

                    <script type="text/html" id="shopcart-list-template">
                        {{each list item}}
                        <tr data-id="{{item._id}}">
                            <td class="choose"><input type="checkbox" name="" class="checks" {{item.check ? 'checked' : ''}}></td>
                            <td class="col1"><a href="javascript:;" class="drop"><i class="glyphicon glyphicon-remove-circle"></i></a></td>
                            <td class="col2">
                                <a href="/html/goods.html#goodid={{item.goodid}}" target="_blank"><img src="{{item.img[0]}}" title="{{item.name}}"></a>
                                <a href="/html/goods.html#goodid={{item.goodid}}" target="_blank" class="f6"><span>{{item.name}}</span></a>
                            </td>
                            <td class="col3">
                                尺寸:{{item.car_size}} <br>
                            </td>
                            <td class="col4">
                                <a class="pointer  reduce-count" href="javascript:;">-</a>
                                <input name="" value="{{item.count}}" type="text" class="numss" readonly>
                                <a class="pointer add-count" href="javascript:;">+</a>
                            </td>
                            <td class="col5">{{item.price}}</td>
                            <td class="col6">{{item.total_item}}</td>
                        </tr>
                        {{/each }}
                    </script>
                </table>
                <div class="no_goods">
                    <div class="clear_info">
                        <h1><i class="glyphicon glyphicon-shopping-cart"></i> <span>您的购物车还没有商品！</span></h1>
                    </div>
                    <ul class="clear_menu">
                        <li><a href="/index.html">返回首页</a></li>
                        <li><a href="/html/category.htmlcategory.html?jewelryType=necklaces&classdesc=项链系列">去选款式</a></li>
                    </ul>
                </div>
                <div class="table_tf">
                    <input type="button" class="clear_btn" value="清空购物车">
                    <div class="payMoney"><span>商品应付金额：</span><em>￥</em><em id="allPay">156959.00</em></div>

                    <a href="javascript:;" id="layer_login" class="login_ok">提交订单</a>

                </div>

            </div>
        </div>
        <div class="foot">
            <div class="content"></div>
        </div>
    </div>
    <script src="/libs/require/require.min.js" data-main="/js/shopcart.js"></script>
</body>

</html>